<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Paciente
 *
 * @author CaetanoPSN
 */
namespace Application\Modelservice;



class Paciente{
   
    public $id;
    public $nome;
    public $CPF;
    public $email;
    public $sexo;
    public $telefone;
    public $login;
    public $senha;
    public $ativado;
    public $dataultimologin;
    protected $inputFilter;

    public function exchangeArray($data)
    {
        $this->id = (isset($data['id'])) ? $data['id'] : null;
        $this->nome  = (isset($data['nome'])) ? $data['nome'] : null;
        $this->CPF  = (isset($data['CPF'])) ? $data['CPF'] : null;
        $this->email  = (isset($data['email'])) ? $data['email'] : null;
        $this->sexo  = (isset($data['sexo'])) ? $data['sexo'] : null;
        $this->telefone  = (isset($data['telefone'])) ? $data['telefone'] : null;
        $this->login  = (isset($data['login'])) ? $data['login'] : null;
        $this->senha  = (isset($data['senha'])) ? $data['senha'] : null;
        $this->ativado  = 0;
    }
}

?>
